/**
 * Copyright 2004 - 2007 Blue Bamboo International Inc. 
 *           All rights reserved.
 *
 *
 * Blue Bamboo PROPRIETARY/CONFIDENTIAL.
 *
 */

package com.bluebamboo.bluetools.pingpang.connection;

import org.apache.mina.core.service.IoHandler;

/**
 * DOCME
 * 
 * @author tanxuqing
 * @date Sep 13, 2009
 * @since
 */
public interface IConnectionHandler {

	public enum Status {
		CONNECTED, DISCONNECTED
	}

	public void connect() throws Exception;

	public void disconnect() throws Exception;

	public void setIoHandler(IoHandler ioHandler);

	public Status getStatus();
}
